import request from '@/utils/request'
// 获取任务列表数据
export function listTaskData(data) {
  return request({
    url: '/task/listTaskData',
    method: 'post',
    data
  })
}
export function getTaskTypeList(data) {
  return request({
    url: '/task/getTaskTypeList',
    method: 'post',
    data
  })
}
export function getPartTypeListByType(data) {
  return request({
    url: '/task/getPartTypeListByType',
    method: 'post',
    data
  })
}
export function getPartTypeList(data) {
  return request({
    url: '/task/getPartTypeList',
    method: 'post',
    data
  })
}
export function getCycleTypeList(data) {
  return request({
    url: '/task/getCycleTypeList',
    method: 'post',
    data
  })
}
export function getBoxList(data) {
  return request({
    url: '/task/getBoxList',
    method: 'post',
    data
  })
}
export function getLuckyList(data) {
  return request({
    url: '/task/getLuckyList',
    method: 'post',
    data
  })
}
export function saveTaskData(data) {
  return request({
    url: '/task/saveTaskData',
    method: 'post',
    data
  })
}
export function updateTaskData(data) {
  return request({
    url: '/task/updateTaskData',
    method: 'post',
    data
  })
}
export function updateTaskSort(data) {
  return request({
    url: '/task/updateTaskSort',
    method: 'post',
    data
  })
}
export function updateTaskStatus(data) {
  return request({
    url: '/task/updateTaskStatus',
    method: 'post',
    data
  })
}
export function deleteTaskData(data) {
  return request({
    url: '/task/deleteTaskData',
    method: 'post',
    data
  })
}
export function getTaskDescribe(data) {
  return request({
    url: '/task/getTaskDescribe',
    method: 'post',
    data
  })
}
export function setTaskDescribe(data) {
  return request({
    url: '/task/setTaskDescribe',
    method: 'post',
    data
  })
}
export function getPointCurry(data) {
  return request({
    url: '/task/getPointCurry',
    method: 'post',
    data
  })
}
export function setPointCurry(data) {
  return request({
    url: '/task/setPointCurry',
    method: 'post',
    data
  })
}
export function getPointOtherAward(data) {
  return request({
    url: '/task/getPointOtherAward',
    method: 'post',
    data
  })
}
export function setPointOtherAward(data) {
  return request({
    url: '/task/setPointOtherAward',
    method: 'post',
    data
  })
}
export function getTaskStatus(data) {
  return request({
    url: '/task/getTaskStatus',
    method: 'post',
    data
  })
}
export function setTaskStatus(data) {
  return request({
    url: '/task/setTaskStatus',
    method: 'post',
    data
  })
}
export function listPrizeTypeData(data) {
  return request({
    url: '/task/listPrizeTypeData',
    method: 'post',
    data
  })
}
export function getSuperPrizeTypeList(data) {
  return request({
    url: '/task/getSuperPrizeTypeList',
    method: 'post',
    data
  })
}
export function savePrizeTypeData(data) {
  return request({
    url: '/task/savePrizeTypeData',
    method: 'post',
    data
  })
}
export function updatePrizeTypeData(data) {
  return request({
    url: '/task/updatePrizeTypeData',
    method: 'post',
    data
  })
}
export function deletePrizeTypeData(data) {
  return request({
    url: '/task/deletePrizeTypeData',
    method: 'post',
    data
  })
}
export function getPrizeTypeList(data) {
  return request({
    url: '/task/getPrizeTypeList',
    method: 'post',
    data
  })
}
export function savePrizeData(data) {
  return request({
    url: '/task/savePrizeData',
    method: 'post',
    data
  })
}
export function updatePrizeData(data) {
  return request({
    url: '/task/updatePrizeData',
    method: 'post',
    data
  })
}
export function deletePrizeData(data) {
  return request({
    url: '/task/deletePrizeData',
    method: 'post',
    data
  })
}
export function updateGoodsPrice(data) {
  return request({
    url: '/task/updateGoodsPrice',
    method: 'post',
    data
  })
}

// 复制
export function taskCopyBoxStageRoundList(data) {
  return request({
    url: '/task/copyBoxStageRoundList',
    method: 'post',
    data
  })
}

export function getPrizeDescribe(data) {
  return request({
    url: '/task/getPrizeDescribe',
    method: 'post',
    data
  })
}
export function setPrizeDescribe(data) {
  return request({
    url: '/task/setPrizeDescribe',
    method: 'post',
    data
  })
}
export function getPrizeStatus(data) {
  return request({
    url: '/task/getPrizeStatus',
    method: 'post',
    data
  })
}
export function setPrizeStatus(data) {
  return request({
    url: '/task/setPrizeStatus',
    method: 'post',
    data
  })
}
export function listBoxData(data) {
  return request({
    url: '/task/listBoxData',
    method: 'post',
    data
  })
}
export function saveBoxData(data) {
  return request({
    url: '/task/saveBoxData',
    method: 'post',
    data
  })
}
export function updateBoxData(data) {
  return request({
    url: '/task/updateBoxData',
    method: 'post',
    data
  })
}
export function deleteBoxData(data) {
  return request({
    url: '/task/deleteBoxData',
    method: 'post',
    data
  })
}
export function listPrizeData(data) {
  return request({
    url: '/task/listPrizeData',
    method: 'post',
    data
  })
}
export function updateBoxStatus(data) {
  return request({
    url: '/task/updateBoxStatus',
    method: 'post',
    data
  })
}
export function getPrizeList(data) {
  return request({
    url: '/task/getPrizeList',
    method: 'post',
    data
  })
}
export function getPrizeDetailByIds(data) {
  return request({
    url: '/task/getPrizeDetailByIds',
    method: 'post',
    data
  })
}
export function getShowProbabilityConfig(data) {
  return request({
    url: '/task/getShowProbabilityConfig',
    method: 'post',
    data
  })
}
export function setShowProbabilityConfig(data) {
  return request({
    url: '/task/setShowProbabilityConfig',
    method: 'post',
    data
  })
}
export function setOpenProbabilityConfig(data) {
  return request({
    url: '/task/setOpenProbabilityConfig',
    method: 'post',
    data
  })
}
export function getOpenProbabilityConfig(data) {
  return request({
    url: '/task/getOpenProbabilityConfig',
    method: 'post',
    data
  })
}
export function getBoxStageList(data) {
  return request({
    url: '/task/getBoxStageList',
    method: 'post',
    data
  })
}
export function setBoxStageList(data) {
  return request({
    url: '/task/setBoxStageList',
    method: 'post',
    data
  })
}
export function getBoxStageRoundList(data) {
  return request({
    url: '/task/getBoxStageRoundList',
    method: 'post',
    data
  })
}
export function setBoxStageRoundList(data) {
  return request({
    url: '/task/setBoxStageRoundList',
    method: 'post',
    data
  })
}
export function getPointChangeType(data) {
  return request({
    url: '/task/getPointChangeType',
    method: 'post',
    data
  })
}
export function listPointChangeData(data) {
  return request({
    url: '/task/listPointChangeData',
    method: 'post',
    data
  })
}
export function listPointOpenData(data) {
  return request({
    url: '/task/listPointOpenData',
    method: 'post',
    data
  })
}
export function listPrizeUserData(data) {
  return request({
    url: '/task/listPrizeUserData',
    method: 'post',
    data
  })
}
export function getPrizeStatusList(data) {
  return request({
    url: '/task/getPrizeStatusList',
    method: 'post',
    data
  })
}
export function abolishPrize(data) {
  return request({
    url: '/task/abolishPrize',
    method: 'post',
    data
  })
}
export function listPrizeDrawData(data) {
  return request({
    url: '/task/listPrizeDrawData',
    method: 'post',
    data
  })
}
export function getPrizeDrawStatus(data) {
  return request({
    url: '/task/getPrizeDrawStatus',
    method: 'post',
    data
  })
}
export function cancelPrizeDraw(data) {
  return request({
    url: '/task/cancelPrizeDraw',
    method: 'post',
    data
  })
}
export function extendedTake(data) {
  return request({
    url: '/task/extendedTake',
    method: 'post',
    data
  })
}
export function doDraw(data) {
  return request({
    url: '/task/doDraw',
    method: 'post',
    data
  })
}
export function setBuyPrice(data) {
  return request({
    url: '/task/setBuyPrice',
    method: 'post',
    data
  })
}
export function updateCourierNumber(data) {
  return request({
    url: '/task/updateCourierNumber',
    method: 'post',
    data
  })
}
// [{"id":1,"typeSort":1}]
export function updateTypeSort(data) {
  return request({
    url: '/task/updateTypeSort',
    method: 'post',
    data
  })
}
export function getGoodsPlatformList(data) {
  return request({
    url: '/task/getGoodsPlatformList',
    method: 'post',
    data
  })
}
export function getAllPrize(data) {
  return request({
    url: '/task/getAllPrize',
    method: 'post',
    data
  })
}
export function getTaskBoxSetting(data) {
  return request({
    url: '/task/getBoxSetting',
    method: 'post',
    data
  })
}
export function setTaskBoxSetting(data) {
  return request({
    url: '/task/setBoxSetting',
    method: 'post',
    data
  })
}

export function taskGetGoodsShowProbability(data) {
  return request({
    url: '/task/getGoodsShowProbability',
    method: 'post',
    data
  })
}

export function taskSetGoodsShowProbability(data) {
  return request({
    url: '/task/setGoodsShowProbability',
    method: 'post',
    data
  })
}

// 礼品积分总计
export function taskLogSumPrice(data) {
  return request({
    url: '/task/taskLogSumPrice',
    method: 'post',
    data
  })
}
